﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Application.Dtos;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace TMS_Master.Dto
{
    /// <summary>
    /// 物资统计表
    /// </summary>
    public class Statistical_GoodsDto : AuditedEntityDto<Guid>
    {
        /// <summary>
        /// 货物名称
        /// </summary>
        [Required]
        [StringLength(20)]
        public string StlName { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        [Required]
        public Guid TypeID { get; set; }

        /// <summary>
        /// 材质
        /// </summary>
        [Required]
        public Guid TextureID { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        [Required]
        [StringLength(20)]
        public string SkuName { get; set; }

        /// <summary>
        /// 产地
        /// </summary>
        [Required]
        public Guid AddrID { get; set; }

        /// <summary>
        /// 期间采购数量
        /// </summary>
        [Required]
        public int CargoNum { get; set; }

        /// <summary>
        /// 期间采购数量
        /// </summary>
        [Required]
        public int GoodsNum { get; set; }

        /// <summary>
        /// 期间采购数量
        /// </summary>
        [Required]
        public int SurplusNum { get; set; }

        /// <summary>
        /// 统计区间
        /// </summary>
        [Required]
        public DateTime CreateTime { get; set; }
    }
}
